package com.x.linx.fenfencard;

import org.androidannotations.annotations.Bean;
import org.androidannotations.annotations.EApplication;

import com.baidu.mapapi.SDKInitializer;
import com.x.linx.fenfencard.model.Manager;

import android.app.Application;

@EApplication
public class MyApp extends Application {
	@Bean
	Manager manager;

	public Manager getManager() {
		return manager;
	}

	public void setManager(Manager manager) {
		this.manager = manager;
	}
	
	@Override
	public void onCreate() {
		super.onCreate();
		// 在使用 SDK 各组间之前初始化 context 信息，传入 ApplicationContext
		SDKInitializer.initialize(this);
	}
}
